package com.sd365.permission.centre.dao.mapper;

import com.sd365.common.core.common.dao.CommonMapper;
import com.sd365.permission.centre.entity.Position;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface PositionMapper extends CommonMapper<Position> {
    /***
     * @Description 查找全部的position
     *
     * @Param No such property: code for class: Script1
     * @return java.util.List<com.sd365.permission.centre.entity.Position>
     * @Date 2022/12/9 13:17
     * @Author hantianbing
     **/
    List<Position> queryAllPosition();

    List<Position> commonQuery(Position position);

    Position selectPositionById(Long id);
}

